﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Unknown.Source.Entity.Coder
{
    /// <summary>
    /// 模板类
    /// </summary>
    public class Template
    {
        /// <summary>
        /// 命名空间前缀
        /// </summary>
        public string NamespacePrefix { get; set; }
        /// <summary>
        /// 名称前缀
        /// </summary>
        public string NamePrefix { get; set; }
        /// <summary>
        /// 名称后缀
        /// </summary>
        public string NamePostfix { get; set; }
        /// <summary>
        /// 后缀
        /// </summary>
        public string Postfix { get; set; }
        /// <summary>
        /// 文件
        /// </summary>
        public string File { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        public Template()
        {
        }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="namespacePrefix">命名空间前缀</param>
        /// <param name="namePrefix">名称前缀</param>
        /// <param name="namePostfix">名称后缀</param>
        /// <param name="postfix">后缀</param>
        /// <param name="file">文件</param>
        public Template(string namespacePrefix, string namePrefix, string namePostfix, string postfix, string file)
        {
            this.NamespacePrefix = namespacePrefix;
            this.NamePrefix = namePrefix;
            this.NamePostfix = namePostfix;
            this.Postfix = postfix;
            this.File = file;
        }
    }
}
